﻿
using CatUtilsDll.Utils.Currency.WebUtils;
using RabbitDownload.WebSite.Pixiv.Login;
using System;
using System.Windows.Forms;

namespace RabbitDownload.WebSite.Pixiv.PixivRelevant
{
    public partial class PixivRelevantControl : UserControl
    {
        public PixivRelevantControl()
        {
            InitializeComponent();
            comboBox1.SelectedIndex = 0;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            CWebclient cWebclient = new LoginHelper().AutoLogin();
            if (cWebclient == null)
                return;
            new PixivReleVantHelper().StartScanner(textBox1.Text, cWebclient, comboBox1.Text);
        }
    }
}